package neusoft.example.com.yuejian06.Service;

import java.util.List;

import neusoft.example.com.yuejian06.Bean.Attention;
import neusoft.example.com.yuejian06.Bean.Club;
import neusoft.example.com.yuejian06.Bean.Clubvideo;
import neusoft.example.com.yuejian06.Bean.Course;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

public interface ClubService {
    @GET("getClubList")
    Call<List<Club>> getClubList();
    @GET("getClubById")
    Call<Club> getClubById(@Query("club_id") String club_id);
    @GET("isAttention")
    Call<Attention> iaAttention(@Query("user_id") String user_id,
                                @Query("club_id") String club_id);
    @GET("attentionClub")
    Call<Attention> attentionClub(@Query("user_id") String user_id,
                                  @Query("club_id") String club_id);

    @GET("getClubVideoList")
    Call<List<Clubvideo>> getClubvideoList(@Query("club_id") String club_id);
    @GET("getClubVideoById")
    Call<Clubvideo> getClubvideoById(@Query("clubvideo_id") String clubvideo_id);

    @GET("getCourseList")
    Call<List<Course>> getCourseList(@Query("club_id") String club_id);
    @GET("getCourseById")
    Call<Course> getCourseById(@Query("course_id") String course_id);

}
